package com.lzp.utils.enums;

/**
 * 用户性别 枚举
 */
public enum UserSex {
    MALE(0, "男"),
    FEALE(1, "女"),
    SECRET(2, "保密");

    private final Integer code;
    private final String desc;

    UserSex(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

}
